import { routerMap } from "@/router/root";

const { useRoutes } = require("react-router-dom");

function Router() {
  const routerTab = useRoutes(routerMap);
  return <div>{routerTab}</div>;
}

export default Router;
